package com.duguo.dynamicmvc.factory.processor.view;

import java.util.List;

import javassist.CtClass;
import javassist.CtMethod;

import com.duguo.dynamicmvc.factory.ControllerBuilder;


public interface ViewAnnotationReader {

	public String getInputViewName(CtMethod controllerCtMethod) throws Exception;

	public List<String> getInterceptors(CtMethod controllerCtMethod) throws Exception;

	public boolean hasView(CtClass controllerCtClass, String viewName,ControllerBuilder controllerBuilder) throws Exception;

	public String getSuccessViewName(CtMethod controllerCtMethod) throws Exception;

	public boolean isSuccessViewRedirect(CtMethod controllerCtMethod) throws Exception;

	public String getControllerName(CtMethod controllerCtMethod) throws Exception;
}
